package com.xiaoshuidi.cloud.module.member.controller.admin.programarticle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@Schema(description = "管理后台 - 信息公告或常见问题栏目列表")
public class ProgramRespVO {
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "1信息公告2常见问题")
    private Integer programType;

    @Schema(description = "栏目名称")
    @NotNull(message = "栏目名称不能为空")
    private String name;

    @Schema(description = "权重")
    private Integer weight;

    @Schema(description = "栏目描述")
    private String details;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
